<template>
  <RouterView></RouterView>
</template>

<script>

export default {
  name: 'App',
  components: {
    // HelloWorld
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
  margin: -7px -7px auto;
  padding: 0;
}

/* 全局样式 - 移除页面滚动条 */
html, body {
  overflow: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 布局容器样式 */
.common-layout {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.el-container {
  height: 100%;
  overflow: hidden;
}

/* 主内容区样式 */
.el-main {
  overflow: hidden; /* 移除主内容区滚动条 */
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 标签页容器 */
.demo-tabs {
  flex-shrink: 0; /* 防止标签页被压缩 */
}

/* 路由视图容器 - 添加内部滚动 */
.router-view-container {
  flex: 1;
  overflow: auto;
  padding: 15px;
  background: #fff;
}
</style>
